package com.ss7;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/11 - 03 - 11 - 8:43
 */
public class Student extends Person{
    double score;
    int age = 20;

    public void study(){
        System.out.println("我可以学习。。。");
    }
    public void eat(){
        System.out.println("我可以吃饭饭");
    }

    public void a(){
        System.out.println(age);//20
        System.out.println(this.age);//20
        System.out.println(super.age);//10
    }
}
